<?php // @version: $Id: default_items.php 11917 2009-05-29 19:37:05Z ian $
defined('_JEXEC') or die('Restricted access');
?>

<script language="javascript" type="text/javascript">
<!--
function tableOrdering( order, dir, task )
{
var form = document.adminForm;

form.filter_order.value = order;
form.filter_order_Dir.value = dir;
document.adminForm.submit( task );
}
// -->
</script>

<form action="<?php echo $this->action; ?>" method="post" name="adminForm">
<div class="p10t m20l">

    <?php foreach ($this->items as $item) :?>
    <div class="p5t p10b bd1b">
        <p class="float_left m10r">
            <?php if($item->article_image):?>
            <a href="<?php echo $item->link; ?>"><img src="<?php echo $item->article_image;?>" width="174" height="102" alt="" class="bs1" /></a>
            <?php endif;?>
        </p>
        <p>
            <?php echo $item->introtext ;?>
            
            <p class="p5t"><a href="<?php echo $item->link; ?>"><img src="<?php echo $this->baseurl ?>/templates/skovmarken/img/icon2.png" alt="" /></a>
            <span class="red"><a href="<?php echo $item->link; ?>">læs mere</a></span></p>
        </p>
        <div class="clear_left"></div>
    </div>
    <?php endforeach; ?>
    
    <div class="p20t right">
    	<?php 
            if ($this->params->get('show_pagination')) : 
                echo $this->pagination->getPagesLinks();
            endif; 
        ?>
    </div>           
</div>

<input type="hidden" name="id" value="<?php echo (int)$this->category->id; ?>" />
<input type="hidden" name="sectionid" value="<?php echo (int)$this->category->sectionid; ?>" />
<input type="hidden" name="task" value="<?php echo $this->lists['task']; ?>" />
<input type="hidden" name="filter_order" value="" />
<input type="hidden" name="filter_order_Dir" value="" />
<input type="hidden" name="limitstart" value="0" />
</form>
